package com.ryantek.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.ryantek.system.dao.FixDao;
import com.ryantek.system.domain.FixDO;
import com.ryantek.system.service.FixService;



@Service
public class FixServiceImpl implements FixService {
	@Autowired
	private FixDao fixDao;
	
	@Override
	public FixDO get(Long id){
		return fixDao.get(id);
	}
	
	@Override
	public List<FixDO> list(Map<String, Object> map){
		return fixDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return fixDao.count(map);
	}
	
	@Override
	public int save(FixDO fix){
		return fixDao.save(fix);
	}
	
	@Override
	public int update(FixDO fix){
		return fixDao.update(fix);
	}
	
	@Override
	public int remove(Long id){
		return fixDao.remove(id);
	}
	
	@Override
	public int batchRemove(Long[] ids){
		return fixDao.batchRemove(ids);
	}
	
}
